Use PEZoomPreviewWindow to change the magnification of the preview window to a specified level. Use this function when the report has been printed to a preview window and you want to set the magnification of the preview window to a specific level (Full Page, Fit One Side, Fit Both Sides, or a specified level).
BOOL CRPE_API PEZoomPreviewWindow (
short printJob,
short level );
Specifies the print job for which you want to set the magnification level in the preview window. | |
The zoom level at which you want to set the preview window. This value can be a set to a specific magnification level (%) in the range from 25 to 400, or you can use one of the Zoom Level Constants. |
Declare Function PEZoomPreviewWindow Lib "crpe32.dll" (
ByVal printJob As Integer, ByVal ZoomLevel As Integer ) As Integer
function PEZoomPreviewWindow (
printJob: Word;
level: smallint
): Bool stdcall;
EXTERN CLOGICAL PEZoomPreviewWindow (CWORD, CWORD)CRPE.DLL
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |